set hilite of background button "Atomic Weight" to false
set hilite of background button "Atomic Radius" to false
set hilite of background button "Gram Atomic Vol." to false
set hilite of background button "Rel. Electroneg." to false
set hilite of background button "First Ioniz. Pot." to false
set hilite of background button "Elect. Resistivity" to false
set hilite of background button "Density" to false
set hilite of background button "Melting Point" to false
set hilite of background button "Atomic Number" to false
end mouseUp
-- part 5 (button)
-- low flags: 00
-- high flags: E006
-- rect: left=202 top=42 right=65 bottom=324
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 1
-- font id: 0
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name: Atomic Number
----- HyperTalk script -----
on mouseUp
Global sortName
Global sortName2
put "AtomicNo" into sortName
put "Atomic Number" into sortName2
send putName to bkgnd "elementInfo"
set hilite of background button "Atomic Weight" to false
set hilite of background button "Atomic Radius" to false
set hilite of background button "Gram Atomic Vol." to false
set hilite of background button "Rel. Electroneg." to false
set hilite of background button "First Ioniz. Pot." to false
set hilite of background button "Elect. Resistivity" to false
set hilite of background button "Density" to false
set hilite of background button "Melting Point" to false
set hilite of background button "Boiling Point" to false
end mouseUp
-- part 6 (button)
-- low flags: 00
-- high flags: A006
-- rect: left=202 top=64 right=90 bottom=320
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 1
-- font id: 0
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name: Atomic Weight
----- HyperTalk script -----
on mouseUp
Global sortName
Global sortName2
put "AtomicWt" into sortName
put "Atomic Weight" into sortName2
set hilite of background button "Atomic Number" to false
set hilite of background button "Atomic Radius" to false
set hilite of background button "Gram Atomic Vol." to false
set hilite of background button "Rel. Electroneg." to false
set hilite of background button "First Ioniz. Pot." to false
set hilite of background button "Elect. Resistivity" to false
set hilite of background button "Density" to false
set hilite of background button "Melting Point" to false
set hilite of background button "Boiling Point" to false
end mouseUp
-- part 7 (button)
-- low flags: 00
-- high flags: A006
-- rect: left=202 top=89 right=112 bottom=316
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 1
-- font id: 0
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name: Atomic Radius
----- HyperTalk script -----
on mouseUp
Global sortName
Global sortName2
put "AtomicRadius" into sortName
put "Atomic Radius" into sortName2
set hilite of background button "Atomic Weight" to false
set hilite of background button "Atomic Number" to false
set hilite of background button "Gram Atomic Vol." to false
set hilite of background button "Rel. Electroneg." to false
set hilite of background button "First Ioniz. Pot." to false
set hilite of background button "Elect. Resistivity" to false
set hilite of background button "Density" to false
set hilite of background button "Melting Point" to false
set hilite of background button "Boiling Point" to false
end mouseUp
-- part 8 (button)
-- low flags: 00
-- high flags: A006
-- rect: left=202 top=111 right=134 bottom=337
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 1
-- font id: 0
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name: Gram Atomic Vol.
----- HyperTalk script -----
on mouseUp
Global sortName
Global sortName2
put "GAV" into sortName
put "Gram Atomic Vol." into sortName2
set hilite of background button "Atomic Weight" to false
set hilite of background button "Atomic Radius" to false
set hilite of background button "Atomic Number" to false
set hilite of background button "Rel. Electroneg." to false
set hilite of background button "First Ioniz. Pot." to false
set hilite of background button "Elect. Resistivity" to false
set hilite of background button "Density" to false
set hilite of background button "Melting Point" to false
set hilite of background button "Boiling Point" to false
end mouseUp
-- part 9 (button)
-- low flags: 00
-- high flags: A006
-- rect: left=202 top=133 right=156 bottom=333
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 1
-- font id: 0
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name: Rel. Electroneg.
----- HyperTalk script -----
on mouseUp
Global sortName
Global sortName2
put "RelElectro" into sortName
put "Rel. Electroneg." into sortName2
set hilite of background button "Atomic Weight" to false
set hilite of background button "Atomic Radius" to false
set hilite of background button "Gram Atomic Vol." to false
set hilite of background button "Atomic Number" to false
set hilite of background button "First Ioniz. Pot." to false
set hilite of background button "Elect. Resistivity" to false
set hilite of background button "Density" to false
set hilite of background button "Melting Point" to false
set hilite of background button "Boiling Point" to false
end mouseUp
-- part 10 (button)
-- low flags: 00
-- high flags: A006
-- rect: left=202 top=155 right=178 bottom=334
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 1
-- font id: 0
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name: First Ioniz. Pot.
----- HyperTalk script -----
on mouseUp
Global sortName
Global sortName2
put "FIP" into sortName
put "First Ionization Pot." into sortName2
set hilite of background button "Atomic Weight" to false
set hilite of background button "Atomic Radius" to false
set hilite of background button "Gram Atomic Vol." to false
set hilite of background button "Rel. Electroneg." to false
set hilite of background button "Atomic Number" to false
set hilite of background button "Elect. Resistivity" to false
set hilite of background button "Density" to false
set hilite of background button "Melting Point" to false
set hilite of background button "Boiling Point" to false
end mouseUp
-- part 11 (button)
-- low flags: 00
-- high flags: A006
-- rect: left=202 top=177 right=200 bottom=335
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 1
-- font id: 0
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name: Elect. Resistivity
----- HyperTalk script -----
on mouseUp
Global sortName
Global sortName2
put "ElectrResist" into sortName
put "Electrical Resistivity" into sortName2
set hilite of background button "Atomic Weight" to false
set hilite of background button "Atomic Radius" to false
set hilite of background button "Gram Atomic Vol." to false
set hilite of background button "Rel. Electroneg." to false
set hilite of background button "First Ioniz. Pot." to false
set hilite of background button "Atomic Number" to false
set hilite of background button "Density" to false
set hilite of background button "Melting Point" to false
set hilite of background button "Boiling Point" to false
end mouseUp
-- part 12 (button)
-- low flags: 00
-- high flags: A006
-- rect: left=202 top=199 right=222 bottom=301
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 1
-- font id: 0
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name: Density
----- HyperTalk script -----
on mouseUp
Global sortName
Global sortName2
put "Density" into sortName
put "Density" into sortName2
set hilite of background button "Atomic Weight" to false
set hilite of background button "Atomic Radius" to false
set hilite of background button "Gram Atomic Vol." to false
set hilite of background button "Rel. Electroneg." to false
set hilite of background button "First Ioniz. Pot." to false
set hilite of background button "Elect. Resistivity" to false
set hilite of background button "Atomic Number" to false
set hilite of background button "Melting Point" to false
set hilite of background button "Boiling Point" to false
end mouseUp
-- part 13 (button)
-- low flags: 00
-- high flags: A006
-- rect: left=202 top=243 right=266 bottom=320
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 1
-- font id: 0
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name: Melting Point
----- HyperTalk script -----
on mouseUp
Global sortName
Global sortName2
put "MeltPt" into sortName
put "Melting Point" into sortName2
set hilite of background button "Atomic Weight" to false
set hilite of background button "Atomic Radius" to false
set hilite of background button "Gram Atomic Vol." to false
set hilite of background button "Rel. Electroneg." to false
set hilite of background button "First Ioniz. Pot." to false
set hilite of background button "Elect. Resistivity" to false
set hilite of background button "Density" to false
set hilite of background button "Atomic Number" to false
set hilite of background button "Boiling Point" to false
end mouseUp
-- part 15 (button)
-- low flags: 00
-- high flags: A003
-- rect: left=199 top=8 right=28 bottom=333
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 1
-- font id: 0
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name: Sort
----- HyperTalk script -----
on mouseUp
Global sortName
Global sortName2
Global s
Global asc
Global desc
Global together
Global txt
Global qte
put userLevel into Level
set userLevel to 5
put "sort" into s
put "ascending" into asc
put "descending" into desc
put "numeric by background field" into txt
answer "sort values-" with "low to high" or "high to low" or "cancel"
If it = "low to high" then
put s && asc && txt && numToChar(34) & sortName & numToChar(34) into together
doSort
Else
If it = "high to low" then
put s && desc && txt && numToChar(34) & sortName & numToChar(34) into together
doSort
End if
End if
Set userLevel to 1
End mouseUp
On doSort
Global together
Global sortName2
set cursor to 4
lock screen
do together
go to bkgnd "elementinfo"
choose eraser tool
drag from 199,302 to 325,302
choose text tool
click at 261,304
set textSize to 12
set textFont to New York
set textStyle to plain
set textAlign to Center
type sortName2
choose browse tool
set userlevel to 1
repeat while the short name of this card is "*Table" or the short name of this card is "ar*" or the short name of this card is "nr" or the short name of this card is "Ad" or the short name of this card is "Noble" or the short name of this card is "Halogen" or the short name of this card is "Metalloid" or the short name of this card is "Alkali" or the short name of this card is "Constants" or the short name of this card is "sortControl" or the short name of this card is "*Table" or the short name of this card is "elementInfoHelp"